<?php
namespace Home\Controller;
use Think\Controller;

class UctotransferController extends  BaseController
{
	public function index(){
		
		$root = array();
		
		
		$id = intval($GLOBALS['request']['id']);
		
		$user =  $GLOBALS['user_info'];
		$root['session_id'] =\es_session::id();
		$user_id  = intval($user['id']);
		if ($user_id >0){
			//require APP_ROOT_PATH.'app/Lib/uc_func.php';
			
			$root['user_login_status'] = 1;
									
			$result = getUcToTransfer($id);
			 
			$root['transfer'] = $result['transfer'];			
			$root['response_code'] = $result['status'];
			$root['show_err'] = $result['show_err'];
		}else{
			$root['response_code'] = 0;
			$root['show_err'] ="未登录";
			$root['user_login_status'] = 0;
		}
		$root['program_title'] = "转让详情";
		output($root);		
	}
}
?>
